From: Simon Josefsson Date: Mon, 5 Jan 2004 18:19:11 +0000 (+0000) Subject: Fix comment to recommend X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24572 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=66374f63f59ebc96c7f532093f4e645b1cf9e300;p=emacs.git Fix comment to recommend before-save-hook instead of write-file-functions. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7276ccc1bf9..eab0fce6a58 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -3,6 +3,9 @@ * files.el (before-save-hook): Add. (basic-save-buffer): Use before-save-hook. + * emacs-lisp/copyright.el: Fix comment to recommend + before-save-hook instead of write-file-functions. + 2004-01-05 Richard M. Stallman * finder.el (finder-commentary): Call delete-other-windows. diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index 4532f7e5b77..8d748291c00 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -27,7 +27,8 @@ ;; Allows updating the copyright year and above mentioned GPL version manually ;; or when saving a file. -;; Do (add-hook 'write-file-functions 'copyright-update). +;; Do (add-hook 'before-save-hook 'copyright-update), or use +;; M-x customize-variable RET before-save-hook RET. ;;; Code: